package com.yonyou.framework.library.mvp.impl;

import android.content.Context;
import android.text.TextUtils;

import com.yonyou.framework.library.view.BaseView;

import java.util.HashMap;


/**
 * Created by ljt on 2018/5/24.
 */

public abstract class BasePresenter<V extends BaseView> {

    protected Context mContext;
    protected V mView;

    public BasePresenter(){}

    public void setView(Context mContext, V mView) {
        this.mContext = mContext;
        this.mView = mView;
    }

    protected void doRequest(HashMap<String, String>... params){
        mView.showDialogLoading("正在加载中...");
    }

}
